// 1. 定义泛型

export type ResType<T> = {
  code: string | number
  data: T
}


export type DeType<T> = {
  code: string | number
  data: T
}

export type HeType<T,H> = {
  code: string | number
  data: T
  head: H
}